Skip to content

Conversation

juhaylinen
Copy link
Contributor

After the PR #85000 the calculation of NUM field of Block 1 option on CoAP Ack packet started to advance to next packet block.

We should not update the ctx->current field because it is used for calculating the NUM field in response packet. It should point to beginning of the payload,
so the response is correct.

Leshan server don't seem to care about this, but Coiote does.

(cherry picked from commit 252f8fe)

After the PR #85000 the calculation of NUM field of
Block 1 option on CoAP Ack packet started to advance
to next packet block.

We should not update the ctx->current field because it is
used for calculating the NUM field in response packet.
It should point to beginning of the payload,
so the response is correct.

Leshan server don't seem to care about this, but Coiote does.

Signed-off-by: Seppo Takalo <[email protected]>
(cherry picked from commit 252f8fe)
@juhaylinen juhaylinen requested a review from rlubos May 15, 2025 10:39
Copy link

@rlubos rlubos merged commit ce7d75a into nrfconnect:main May 15, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants